package com.designpatterns.iterator.imp;

import java.util.ArrayList;

/**
 * @author Brook
 */
public class MenuTestDrive {
    public static void main(String[] args) {
        Menu pancakeHouseMen = new PancakeHouseMenu();
        Menu dinerMenu = new DinerMenu();
        Menu cafeMenu = new CafeMenu();
        ArrayList menus = new ArrayList();
        menus.add(pancakeHouseMen);
        menus.add(dinerMenu);
        menus.add(cafeMenu);

        Waitress waitress = new Waitress(menus);
        waitress.printMenu();
    }
}
